package edu.snake.implement.model.character.listenerDecorator;


import edu.snake.core.model.character.Character;

import java.awt.event.ActionEvent;

public class CharacterListenerImplFrog extends CharacterListenerAdapterBaseImpl {


    public CharacterListenerImplFrog(Character character) {
        super(character);
    }

    @Override
    public Character move() {
        Character character = super.move();
        fireActionPerformed(new ActionEvent(this.character, 0, "moved",
                System.currentTimeMillis(),
                0));
        return character;
    }
}
